package com.ywu.application.standard.thirdExec.data;

import com.ywu.application.standard.thirdExec.dto.YwuThirdExecDto;
import com.ywu.application.standard.thirdExec.entity.YwuThirdExecEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface YwuThirdExecRepository {
    void insertYwuThirdExec(@Param("model") YwuThirdExecEntity ywuThirdExecEntity);

    YwuThirdExecEntity getEntity(@Param("model") YwuThirdExecEntity search);

    void updateThirdExec(@Param("model") YwuThirdExecEntity ywuThirdExecEntity);

    void deleteThirdExecById(@Param("model") YwuThirdExecEntity ywuThirdExecEntity);

    int queryCount(@Param("model") YwuThirdExecDto ywuThirdExecDto);

    List<YwuThirdExecEntity> queryPageList(@Param("model") YwuThirdExecDto ywuThirdExecDto);
}
